<div class="row">
	<div class="col-md-12">
		<a class="btn btn-success btn-sm" role="button" data-toggle="collapse" href="#filter" aria-expanded="false" aria-controls="filter" style="margin-bottom: 10px;">
			筛选
			<i class="icon-double-angle-down icon-large"></i>
		</a>
		<div class="collapse" id="filter">
			<div class="row">
				<form class="filter-form" action="${request.contextPath}/contract-list/view" method="post">
					<div class="col-md-4">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">合同编号</div>
								</div>
								<input type="text" class="form-control input-sm" name="no" value="${search.no}" />
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">合同名称</div>
								</div>
								<input type="text" class="form-control input-sm" name="name" value="${search.name}" />
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">签约方</div>
								</div>
								<input type="text" class="form-control input-sm" name="qyf" value="${qyf}" />
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">实施单位</div>
								</div>
								<input type="text" class="form-control input-sm" name="companyB" value="${search.companyB}" />
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">履行状态</div>
								</div>
								<select class="form-control input-sm" name="lxzt">
									<option value=""></option>
									<option value="0" ${((lxzt==0)?string('selected',''))!''}>履行中</option>
									<option value="1" ${((lxzt==1)?string('selected',''))!''}>未履行</option>
									<option value="2" ${((lxzt==2)?string('selected',''))!''}>完成</option>
								</select>
							</div>
						</div>
					</div>
					<div class="col-md-4">
						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">
									<div style="width: 60px;">实施进度</div>
								</div>
								<select class="form-control input-sm" name="status">
									<option value=""></option>
									<option value="START" ${((search.status=="START")?string('selected',''))!''}>在建阶段</option>
									<option value="FINISH" ${((search.status=="FINISH")?string('selected',''))!''}>完工结算阶段</option>
									<!-- option value="PS1003_FOR_PAY">结算支付阶段</option -->
									<option value="COMPLETED" ${((search.status=="COMPLETED")?string('selected',''))!''}>质保金阶段</option>
								</select>
							</div>
						</div>
					</div>
					<div class="col-md-12">
						<div class="btn btn-danger btn-sm filter-search">查询</div>
						<div class="btn btn-default btn-sm filter-reset">重置</div>
					</div>
					<div class="col-md-12">&nbsp;</div>
				</form>
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
	$(function() {
		$('select[name="lxzt"] option[value="${lxzt}"]').prop('selected', true);
		$('select[name="projectStatus"] option[value="${search.projectStatus}"]').prop('selected', true);
	});
</script>